using System;
using System.Collections.Generic;


namespace DomesticBank.Models {
	public class Transaction {
		protected int id;
		protected string name;
		protected string beneficiary;
		protected decimal income;
		protected decimal expenses;
		protected decimal balance;
		protected string description;
		protected int category;
		protected int payment;
		protected DateTime date;
		protected TimeSpan time;
		protected List<Tag> tags;
		
		public Transaction() {
		}

		public decimal Balance {
			get {
				return this.balance;
			}
			set {
				balance = value;
			}
		}

		public string Beneficiary {
			get {
				return this.beneficiary;
			}
			set {
				beneficiary = value;
			}
		}

		public int Category {
			get {
				return this.category;
			}
			set {
				category = value;
			}
		}

		public DateTime Date {
			get {
				return this.date;
			}
			set {
				date = value;
			}
		}

		public string Description {
			get {
				return this.description;
			}
			set {
				description = value;
			}
		}

		public decimal Expenses {
			get {
				return this.expenses;
			}
			set {
				expenses = value;
			}
		}

		public int Id {
			get {
				return this.id;
			}
			set {
				id = value;
			}
		}

		public decimal Income {
			get {
				return this.income;
			}
			set {
				income = value;
			}
		}

		public string Name {
			get {
				return this.name;
			}
			set {
				name = value;
			}
		}

		public int Payment {
			get {
				return this.payment;
			}
			set {
				payment = value;
			}
		}

		public TimeSpan Time {
			get {
				return this.time;
			}
			set {
				time = value;
			}
		}

		public List<Tag> Tags {
			get {
				return this.tags;
			}
			set {
				tags = value;
			}
		}
	}
}